const oneTermPayment = 150 // 4年1200，平均到每学期150

//根据已缴纳租金和使用时间计算退租应返还金额
export const returnPaymentCalculate = (rental_payment, rental_duration) => {

    const returnPayment = Number(rental_payment) - Number(rental_duration)*oneTermPayment

    return returnPayment
}